#pragma once
#include <opencv2/core.hpp>

extern "C" __declspec(dllexport) bool initTracker();
bool updateTracker();

struct Droplet {
    int id;
    cv::Rect bbox;
    bool isReal;

    Droplet() { // Virtual droplet
        this->isReal = false;
        this->id = -2;
        this->bbox = cv::Rect(0, 0, 0, 0);
    }

    Droplet(int id, cv::Rect& bbox) {
        this->isReal = true;
        this->id = id;
        this->bbox = bbox;
    }
};
